package com.jk.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.regex.Pattern;

public class DealInfo implements Serializable{
    /**主键id*/
    private String dealId;
    /**交易类型*/
    private Integer dealType;
    /**交易状态*/
    private Integer dealStatus;
    /**交易金额*/
    private Double dealMoney;
    /**交易时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String dealTime;
    /**交易人*/
    private String dealObject;
    /**流水号*/
    private String dealSerianumber;
    /**交易信息*/
    private String dealInfo;
    /**资金流向*/
    private Integer dealFundflow;
    /**关联用户id*/
    private String userId;
    /**关联银行id*/
    private String accountBank;
    /**交易记录分类（1.充值记录2.提现记录3.转账记录）*/
    private Integer recordType;
    /**删除状态（1.逻辑删除）*/
    private Integer deleteStatus;

    //业务字段
    //开始时间
    private String oneTime;
    //结束时间
    private String tenTime;
    //金额范围开始
    private Double oneMoney;
    //金额结束
    private Double tenMoney;

    public Integer getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Integer deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public String getOneTime() {
        return oneTime;
    }

    public void setOneTime(String oneTime) {
        this.oneTime = oneTime;
    }

    public String getTenTime() {
        return tenTime;
    }

    public void setTenTime(String tenTime) {
        this.tenTime = tenTime;
    }

    public Double getOneMoney() {
        return oneMoney;
    }

    public void setOneMoney(Double oneMoney) {
        this.oneMoney = oneMoney;
    }

    public Double getTenMoney() {
        return tenMoney;
    }

    public void setTenMoney(Double tenMoney) {
        this.tenMoney = tenMoney;
    }

    public String getDealId() {
        return dealId;
    }

    public void setDealId(String dealId) {
        this.dealId = dealId;
    }

    public Integer getDealType() {
        return dealType;
    }

    public void setDealType(Integer dealType) {
        this.dealType = dealType;
    }

    public Integer getDealStatus() {
        return dealStatus;
    }

    public void setDealStatus(Integer dealStatus) {
        this.dealStatus = dealStatus;
    }

    public Double getDealMoney() {
        return dealMoney;
    }

    public void setDealMoney(Double dealMoney) {
        this.dealMoney = dealMoney;
    }

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public String getDealTime() {
        return dealTime;
    }

    public void setDealTime(String dealTime) {
        this.dealTime = dealTime;
    }

    public String getDealObject() {
        return dealObject;
    }

    public void setDealObject(String dealObject) {
        this.dealObject = dealObject;
    }

    public String getDealSerianumber() {
        return dealSerianumber;
    }

    public void setDealSerianumber(String dealSerianumber) {
        this.dealSerianumber = dealSerianumber;
    }

    public String getDealInfo() {
        return dealInfo;
    }

    public void setDealInfo(String dealInfo) {
        this.dealInfo = dealInfo;
    }

    public Integer getDealFundflow() {
        return dealFundflow;
    }

    public void setDealFundflow(Integer dealFundflow) {
        this.dealFundflow = dealFundflow;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAccountBank() {
        return accountBank;
    }

    public void setAccountBank(String accountBank) {
        this.accountBank = accountBank;
    }

    public Integer getRecordType() {
        return recordType;
    }

    public void setRecordType(Integer recordType) {
        this.recordType = recordType;
    }
}